package centralizedme;

/**
 *
 * @author palexander
 */
public class FoafNick extends RdfProperty {
    // nickname of the person this foaf document refers to
    private String nick;
    // the name for this property
    private final String propName = "foaf:nick";

    /**
     * Constructor for foafName, relies on RdfProperty super constructor.
     * @param givenname  <code>String</code> of the property's givenname.
     */
    public FoafNick(String nick) {
        super("foaf:nick");
        this.nick = nick;
    }

    /**
     * Represent this property as a string.
     * @return  <code>String</code> representation of this property.
     */
    public String toString() {
        return getOpenProp() + nick + getCloseProp();
    }
}
